<?php
// 获取 回调函数名
$callback = $_REQUEST["callback"];
header( 'Content-Type:text/javascript;charset=utf-8' );
$user = "{\"name\":\"tom\",\"age\":22}";
// jsonp: json的填充
echo "$callback($user);";
?>